import { extend } from "umi-request";

const request = extend({
    credentials: 'include', // 默认请求带上cookie
    prefix: process.env.NODE_ENV === 'production' ? 'http://114.132.250.14:9090': undefined
});

export default request;